package com.jinbiao.quasar.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.Entity;

import java.io.Serializable;
import java.sql.Types;

@Data
@Entity(tableName = "sys_button")
public class SysButton implements Serializable {
    @Column(name = "menu_name", type = Types.VARCHAR)
    private String menuName;
    @Column(name = "button_name", type = Types.VARCHAR)
    private String buttonName;
    @Column(name = "button_code", type = Types.VARCHAR)
    private String buttonCode;

    public SysButton() {
    }

    public SysButton(String menuName) {
        this.menuName = menuName;
    }
}
